package com.ktjy.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloKtController {
    @GetMapping("/kt")
    public String hello() {

        return "Hello KT";
    }
    @PostMapping("/ktmall/kt/{aa}")
    public String hello2(@PathVariable String aa) {
        return "Hello KT 111" + aa;
    }
}
